@import '../openscss/model';
@import '../openscss/color';
.full-path {
  margin-bottom: 20px;
  a {
    cursor: pointer;
    &:hover {
      color: $orange;
    }
  }
}

.list-box {
  width: 100%;
  .file-item {
    width: 150px;
    margin: 15px 2%;
    display: inline-block;
    vertical-align: top;
    .logo {
      position: relative;
      width: 150px;
      height: 150px;
      overflow: hidden;
      img {
        position: relative;
        top: 50%;
        transform: translateY(-50%);
        width: 150px;
        // height: 200px;
      }
    }
    .content {
      padding: 5px 0;
      .name {
        font-size: 14px;
        line-height: 22px;
        height: 44px;
        @include Line(2);
        a {
          line-height: 22px;
          cursor: pointer;
          &:hover {
            color: $orange;
          }
        }
      }
      .time {
        padding-top: 5px;
        font-size: 12px;
      }
    }
  }
  &.list {
    .file-item {
      &:hover {
        background-color: rgba($cyan, 0.2);
      }
      display: block;
      width: 100%;
      margin: 10px 0;
      padding-left: 20px;
      box-sizing: border-box;
      position: relative;
      .logo {
        position: absolute;
        top: 0;
        left: 0;
        display: inline-block;
        vertical-align: top;
        width: 20px;
        height: 20px;
        img {
          width: 20px;
          top: 0;
          transform: translateY(0);
        }
      }
      .content {
        display: inline-block;
        box-sizing: border-box;
        width: 100%;
        padding: 0 5px;
        vertical-align: top;
        padding-right: 150px;
        position: relative;
        .name {
          display: inline-block;
          vertical-align: top;
          height: 20px;
          line-height: 20px;
          @include Line(1);
          padding-right: 10px;
          a {
            line-height: 20px;
          }
        }
        .time {
          display: inline-block;
          vertical-align: top;
          padding-top: 0;
          height: 20px;
          width: 150px;
          position: absolute;
          right: 0;
          top: 0;
          line-height: 20px;
          padding-right: 10px;
          text-align: right;
        }
      }
    }
  }
}